﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MediaServer.ClientHandler
{
    public class BaseMessage
    {
        public string Type
        {
            get { return this.GetType().Name; }
        }
    }

    public class Info : BaseMessage
    {
        public string Message { get; set; }
    }

    public class Data : BaseMessage
    {
        public int ID { get; set; }
        public object Content { get; set; }
    }

    public class VideoImage : BaseMessage
    {
        public int Part { get; set; }
        public string Content { get; set; }
    }

    public class Thumbnail : BaseMessage
    {
        public string FileType { get; set; }
        public string Content { get; set; }
        public string Description { get; set; }
    }
}